import {StyleSheet} from 'react-native'
import {autoSize} from "./common";

export const searchStyles = StyleSheet.create({
    headerInfo: {
        display: 'flex',
        flexDirection: 'row',
        padding: 15,
        alignItems: 'center',
        justifyContent: 'space-between',
        backgroundColor: '#fff'
    },
    headerInfoText: {
        color: '#333',
        fontSize: 16,
    },
    itemContainer: {
        display: 'flex',
        flexDirection: 'row',
        alignItems: 'center',
        position: 'relative',
        height: autoSize(80),
        padding: 15,
    },
    itemLeftContent: {

        display: 'flex',
        flex: 1,
        paddingLeft: 15,
    },
    itemLine: {
        position: 'absolute',
        bottom: 0,
        right: 0,
    },
    name: {
        color: '#000',
        fontSize: 16,
    },
    sub: {
        color: '#333',
        fontSize: 14,
    },
    detail: {
        color: '#666',
        fontSize: 14,
    },
    avatar: {
        width: autoSize(65),
        height: autoSize(65)
    }

});